<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../Public/css/basic.css" />
<link type="text/css" rel="stylesheet" href="../Public/css/manage.css" />
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="../Public/js/manage.js"></script>
<title></title>
</head>
<body id="main">
    
    <h2>管理员设置 -- 添加管理员<a href="__URL__"><span class="add">→</span>返回管理员列表</a></h2>
    <div id="list">
    <form method="post" class="add">
        <dl>
            <dd>管理员名称：<input type="text" name="name" class="text"/>　<span class="require">*</span> <span class="user info">管理员名称必须是2~20位</span><span class="user success">可用</span><span class="user error"></span></dd>
            <dd>管理员密码：<input type="password" name="pass" class="text"/>　<span class="require">*</span> <span class="pass info">密码不能低于六位</span><span class="pass success">可用</span><span class="pass error"></span> </dd>
            <dd>确 认 密 码：<input type="password" name="notpass" class="text"/>　<span class="require">*</span> <span class="notpass info">请再次输入密码</span><span class="notpass success">可用</span><span class="notpass error"></span></dd>
            <dd>等 级 选 择：<select name="level" class="select">
                            <option value="-1">-- 请选择一个等级 --</option>
                            <?php if(is_array($level)): $i = 0; $__LIST__ = $level;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$value): $mod = ($i % 2 );++$i;?><option value="<?php echo ($value["id"]); ?>"><?php echo ($value["name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                         </select>　<span class="require">*</span> <span class="level error"></span></dd>  
            <input type="hidden" id="flag" value="true"/>                     
            <dd><input type="submit" name="send" value="提交"/> <input type="button" value="返回" onclick="history.back();"/></dd>
        </dl>
    </form>
    </div>
</body>
</html>